﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ImbedLibrary
{
    /// <summary>
    /// 路径为空
    /// </summary>
    [Serializable]
    [System.Runtime.InteropServices.ComVisible(true)]
    public class PathIsNullException : SystemException
    {

        public PathIsNullException() : base("路径或者文件名为空") { }

        public PathIsNullException(string message) : base(message) { }

        public PathIsNullException(string message, Exception inner) : base(message, inner) { }

    }

    /// <summary>
    /// 结果大于一
    /// </summary>
    [Serializable]
    [System.Runtime.InteropServices.ComVisible(true)]
    public class MoreThanOneException : SystemException
    {
        public MoreThanOneException() : base("结果大于一条") {
            Logs.Err("结果大于一条");
        }
        public MoreThanOneException(string message) : base(message) { }
        public MoreThanOneException(string message, Exception inner) : base(message, inner) { }
    }
}
